package com.david.course_design.shopping_center.module.goods.goodsDetail.entity;

import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "t_goods_detail")
@ToString
public class GoodsDetail {
    @Id
    private Integer id;

    private String name;

    private String price;

    @Column(name = "img_url")
    private String imgUrl;

    private String type;

    @Column(name = "lun_bo_tu_img_list_id")
    private Integer lunBoTuImgListId;

    @Column(name = "describe_img_list_id")
    private Integer describeImgListId;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return price
     */
    public String getPrice() {
        return price;
    }

    /**
     * @param price
     */
    public void setPrice(String price) {
        this.price = price;
    }

    /**
     * @return img_url
     */
    public String getImgUrl() {
        return imgUrl;
    }

    /**
     * @param imgUrl
     */
    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    /**
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return lun_bo_tu_img_list_id
     */
    public Integer getLunBoTuImgListId() {
        return lunBoTuImgListId;
    }

    /**
     * @param lunBoTuImgListId
     */
    public void setLunBoTuImgListId(Integer lunBoTuImgListId) {
        this.lunBoTuImgListId = lunBoTuImgListId;
    }

    /**
     * @return describe_img_list_id
     */
    public Integer getDescribeImgListId() {
        return describeImgListId;
    }

    /**
     * @param describeImgListId
     */
    public void setDescribeImgListId(Integer describeImgListId) {
        this.describeImgListId = describeImgListId;
    }
}